#include"../source/socket.hpp"
#include"../source/server.hpp"
int main()
{   Socket cli_socket;
    cli_socket.CreateClient("127.0.0.1",8080);
    for(int i=0;i<5;i++)
    {
        std::string str="abcasdjajsdoaj";
        cli_socket.Send(str.c_str(),str.size());
        char buf[1024] ={0};
        cli_socket.Recv(buf,1023);
        DLOG("%s",buf);
        sleep(1);
    }
    while(1){
        sleep(1);
    }

    return 0;
}